package com.shang.service.center;

import com.shang.pojo.OrderItems;
import com.shang.pojo.bo.center.OrderItemsCommentBO;
import com.shang.utils.PagedGridResult;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MyCommentsService {

    /**
     * 根据订单id查询关联的商品
     * @param orderId
     * @return
     */
    public List<OrderItems> queryPendingComment(String orderId);

    public void saveComments(String orderId, String userId, List<OrderItemsCommentBO> commentList);

    public PagedGridResult queryMyComments(String userId, Integer page, Integer pageSize);
}
